set more off

*****Table 10 employment growth by industry 9508*****************************************************************************************

ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays D_censuspop9010_pref=road_1962_rays ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  replace
ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda  D_censuspop9010_pref=road_1962_rays po_s_road_1962_ringxda ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append

ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays D_censuspop9010_pref=road_1962_rays ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 
ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda  D_censuspop9010_pref=road_1962_rays po_s_road_1962_ringxda ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00) if D0==1,  first ffirst robust cluster(province05)
outreg2 using "table10", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 


**** Without the West - Table O3 ****

ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays D_censuspop9010_pref=road_1962_rays ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  replace
ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda  D_censuspop9010_pref=road_1962_rays po_s_road_1962_ringxda ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_emp_man9010_cp  larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append

ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays D_censuspop9010_pref=road_1962_rays ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 
ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda  D_censuspop9010_pref=road_1962_rays po_s_road_1962_ringxda ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append
ivreg2 D_manuempT9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00) if west==0 & D0==1,  first ffirst robust cluster(province05)
outreg2 using "tableO3", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 
